﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES._wangweihao
{
    /// <summary>
    /// 排班计划
    /// </summary>
    public class ShiftPlan : Entity<int>
    {

        /// <summary>
        /// 班次ID
        /// </summary>
        public int? ShiftId { get; set; }

        /// <summary>
        /// 流水号
        /// </summary>
        public int? RecordId { get; set; }

        /// <summary>
        /// 节假日设置ID
        /// </summary>
        public int? HolidayId { get; set; }

        /// <summary>
        /// 计划编码
        /// </summary>
        [StringLength(64)]
        public string? PlanCode { get; set; }

        /// <summary>
        /// 计划名称
        /// </summary>
        [StringLength(255)]
        public string? PlanName { get; set; }

        /// <summary>
        /// 排班类型
        /// </summary>
        [StringLength(64)]
        public string? CalendarType { get; set; }

        /// <summary>
        /// 生效时间
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// 倒班方式
        /// </summary>
        [StringLength(64)]
        public string? ShiftType { get; set; }

        /// <summary>
        /// 倒班方式
        /// </summary>
        [StringLength(64)]
        public string? ShiftMethod { get; set; }

        /// <summary>
        /// 数
        /// </summary>
        public int? ShiftCount { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [StringLength(64)]
        public string Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(500)]
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [StringLength(64)]
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        [StringLength(64)]
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
